package com.gitee.ywj1352.proxy.dynamic.cglib;

/**
 * Created by wenjie.yang on 3/25/2019.
 */
public class Test {


  public static void main(String[] args)throws Exception {
    CglibProxy cglibProxy = new CglibProxy();
    Person instance = (Person)cglibProxy.getInstance(Person.class);
    instance.doSomething();
    System.out.println(instance.getClass());
  }

}
